//
//  WKAppManager.m
//  ourToken
//
//  Created by wakeup on 2018/5/30.
//  Copyright © 2018年 ourtoken. All rights reserved.
//

#import "WKAppManager.h"

@implementation WKAppManager

+ (WKAppManager *)sharedAppManager {
    static WKAppManager *appManager;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        appManager = [[self alloc] init];
    });
    return appManager;
}

- (instancetype)init {
    self = [super init];
    if (self) {
        _width = [UIScreen mainScreen].bounds.size.width;
        _height = [UIScreen mainScreen].bounds.size.height;
        _scale = self.width/320;
        _navigationHeight = 64;
        _tabBarHeight = 49;
        _scanView_WH = 230;
        _themeColor = RGBA(0, 199, 213, 1);
        _btnFont = [UIFont systemFontOfSize:15];
        _tableBackColor = RGBA(246, 246, 246, 1);
        _tableTextFont = [UIFont systemFontOfSize:15];
        _tableDetailFont = [UIFont systemFontOfSize:12];
        _tableDetailColor = RGBA(170, 170, 170, 1);
    }
    return self;
}

@end
